import { defineStore } from 'pinia'

export const useGlobalStore = defineStore('global', {
  state: () => ({ edit: false }),
  actions: {
    changeEdit: function () {
      this.edit = !this.edit
    }
  }
})
